@extends('admin.layouts.app')


@section('content')

                        <!-- Page-Title -->
                        <div class="row">
                            <div class="col-sm-12">
                                <h4 class="page-title">预约管理</h4>
                                <ol class="breadcrumb">
                                    <li><a href="{{url('zadmin')}}">系统</a></li>
                                   
                                    <li class="active">投诉建议</li>
                                </ol>
                            </div>
                        </div>
                        
                        <div class="row">
                        	<div class="col-lg-12">
                        		<div class="card-box">
                        			

                              @if(session('rs'))
                              <div class="alert alert-{{session('rs')['status']}}">
                                {{ session('rs')['msg'] }}
                              </div>
                              @endif
			                        
                        			<div class="table-responsive">
    <table class="table table-hover">
        <thead>
			<tr>
			
						           
                        <th>ID</th>
                       

                        <th>用户</th>                       
                        
                        <th>内容</th>
                        <th>时间</th>
                        
                          
                        
                         
						
                         
					<th style="width: 200px;">操作</th>
					</tr>
					</thead>
											
                    <tbody>

                    @foreach($list as $v)
                        <tr>
                          <td>{{$v->id}}</td>
                          <td>{{object_get($v,'wxuser.nickname')}}</td>
                          <td>{{$v->contents}}</td>
                          <td>{{$v->created_at}}</td>                        
                          <td>
                            <a class="btn btn-danger btn-sm" href="{{url('zadmin/suggest/del',$v->id)}}" class="del" data-id="{{$v->id}}">删除</a>
                          </td>
                        </tr>
                    @endforeach    
                                                
                                               
                                               
                                                
                                               
                                                
                                            
                                            </tbody>
                                        </table>
                                    </div>
                                    {{ $list->links() }}
                        		</div>
                                
                            </div> <!-- end col -->

                            
                        </div>
@endsection

@section('modal')                        
                      
@endsection                         

                  
            
    
       

           



    
@section('js')

         
@endsection
    
